package com.hmall.search.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class RequestParams {
    private String key;
    private Long page;
    private Integer size;
    private String sortBy;
    private String category;
    private String brand;
    private Long minPrice;
    private Long maxPrice;

//    public RequestParams(String key, Long page, Integer size, String sortBy, String category, String brand, Long minPrice, Long maxPrice) {
//        this.key = key;
//        this.page = page;
//        this.size = size;
//        this.sortBy = sortBy;
//        this.category = category;
//        this.brand = brand;
//        this.minPrice = minPrice;
//        this.maxPrice = maxPrice;
//    }
}
